<div ng-controller="PatientDetailsCtrl">
<div class="modal-header">
    <h3 class="modal-title" translate="{{ isNew ? 'business.navtitle.newpatient' : 'business.navtitle.editpatient' }}"></h3>
</div>
<div class="modal-body">
<tabset class="tab-container">
<tab heading="{{ 'business.navtitle.patinfo' | translate }}">
<form id="patientFrm" ng-submit="submit($event)" role="patient">
<div class="form-group">
    <label class="col-sm-2">{{ 'user.icNo' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" required
               ng-model="patient._user.icNo" ng-disabled="viewOnly"
               ng-blur="onCheckIcNo($event, patient._user.icNo, patient.patient_Id)">
    </div>
    <label class="col-sm-2">{{ 'user.realname' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" required
               ng-model="patient._user.realName" ng-disabled="viewOnly">
    </div>
    <div class="clearfix"></div>
    <label class="col-sm-2">{{ 'user.gender' | translate }}</label>
    <div class="col-sm-4">
        <select class="form-control" required ng-model="patient._user.gender" ng-disabled="viewOnly"
                ng-options="item.value as item['displayName' + locale] for item in gender"></select>
    </div>
    <label class="col-sm-2">{{ 'user.marriage' | translate }}</label>
    <div class="col-sm-4">
        <select class="form-control" required ng-model="patient._user.marriage" ng-disabled="viewOnly"
                ng-options="item.value as item['displayName' + locale] for item in marriage"></select>
    </div>
    <div class="clearfix"></div>

    <label class="col-sm-2">{{ 'user.ethnic' | translate }}</label>
    <div class="col-sm-4">
        <select class="form-control" required ng-model="patient._user.race_Id" ng-disabled="viewOnly"
                ng-options="item.race_Id as item.race_Name for item in races"></select>
    </div>

    <div class="clearfix"></div>
    <label class="col-sm-2">{{ 'user.year' | translate }}{{patient._user.birth_year}}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control"
               ng-model="patient._user.birth_Year" ng-disabled="viewOnly">
    </div>

    <label class="col-sm-2">{{ 'user.month' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control"
               ng-model="patient._user.birth_Month" ng-disabled="viewOnly" >
    </div>


    <div class="clearfix"></div>
    <label class="col-sm-2">{{ 'user.occupation' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control"
               ng-model="patient._user.occupation" ng-disabled="viewOnly">
    </div>

    <label class="col-sm-2">{{ 'user.workplace' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control"
               ng-model="patient._user.workPlace" ng-disabled="viewOnly">
    </div>
    <div class="clearfix"></div>

    <label class="col-sm-2">{{ 'user.country' | translate }}</label>
    <div class="col-sm-4">

        <ui-select required ng-model="patient._user._country" ng-disabled="viewOnly" ng-if="locale=='En'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_country' | translate }}" allow-clear="true">
                {{ $select.selected.country_En_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in countries | filter: { country_En_Name: $select.search }" position="auto">
                <span ng-bind-html="item.country_En_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>

        <ui-select required ng-model="patient._user._country" ng-disabled="viewOnly" ng-if="locale=='Cn'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_country' | translate }}" allow-clear="true">
                {{ $select.selected.country_Cn_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in countries | filter: { country_Cn_Name: $select.search }" position="auto">
                <span ng-bind-html="item.country_Cn_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>

    </div>
    <label class="col-sm-2">{{ 'user.province' | translate }}</label>
    <div class="col-sm-4">
        <ui-select required ng-model="patient._user._province" ng-disabled="viewOnly" ng-if="locale=='En'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_province' | translate }}" allow-clear="true">
                {{ $select.selected.loca_En_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in provinces | filter: { loca_En_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_En_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>


        <ui-select required ng-model="patient._user._province" ng-disabled="viewOnly" ng-if="locale=='Cn'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_province' | translate }}" allow-clear="true">
                {{ $select.selected.loca_Cn_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in provinces | filter: { loca_Cn_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_Cn_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>
    </div>
    <div class="clearfix"></div>
    <label class="col-sm-2">{{ 'user.city' | translate }}</label>
    <div class="col-sm-4">
        <ui-select required ng-model="patient._user._city" ng-disabled="viewOnly" ng-if="locale=='En'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_city' | translate }}" allow-clear="true">
                {{ $select.selected.loca_En_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in cities | filter: { loca_En_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_En_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>

        <ui-select required ng-model="patient._user._city" ng-disabled="viewOnly" ng-if="locale=='Cn'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_city' | translate }}" allow-clear="true">
                {{ $select.selected.loca_Cn_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in cities | filter: { loca_Cn_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_Cn_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>
    </div>
    <label class="col-sm-2">{{ 'user.county' | translate }}</label>
    <div class="col-sm-4">
        <ui-select required ng-model="patient._user._county" ng-disabled="viewOnly" ng-if="locale=='En'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_county' | translate }}" allow-clear="true">
                {{ $select.selected.loca_En_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in counties | filter: { loca_En_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_En_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>

        <ui-select required ng-model="patient._user._county" ng-disabled="viewOnly" ng-if="locale=='Cn'">
            <ui-select-match placeholder="{{ 'business.patcase.search_a_county' | translate }}" allow-clear="true">
                {{ $select.selected.loca_Cn_Name }}
            </ui-select-match>
            <ui-select-choices repeat="item in counties | filter: { loca_Cn_Name: $select.search }" position="auto">
                <span ng-bind-html="item.loca_Cn_Name | highlight: $select.search"></span>
            </ui-select-choices>
        </ui-select>
    </div>
    <div class="clearfix"></div>

    <label class="col-sm-2">{{ 'user.mobilephone' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" min="0" data-max="200"
               ng-model="patient._user.mobile_Phone" ng-disabled="viewOnly">
    </div>
    <label class="col-sm-2">{{ 'user.telephone' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" min="0" data-max="200"
               ng-model="patient._user.telephone" ng-disabled="viewOnly">
    </div>
    <div class="clearfix"></div>

    <label class="col-sm-2">{{ 'user.emergencycontact' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" min="0" data-max="200"
               ng-model="patient._user.emerg_Contact" ng-disabled="viewOnly">
    </div>
    <label class="col-sm-2">{{ 'user.emergencymobile' | translate }}</label>
    <div class="col-sm-4">
        <input type="text" class="form-control" min="0" data-max="200"
               ng-model="patient._user.emerg_Contact_Mobile" ng-disabled="viewOnly">
    </div>
    <div class="clearfix"></div>

    <label class="col-sm-2">{{ 'user.address' | translate }}</label>
    <div class="col-sm-10">
        <textarea class="form-control no-radius"
                  ng-model="patient._user.location_Address" ng-disabled="viewOnly"></textarea>
    </div>

    <div class="clearfix"></div>
</div>

<div class="line line-dashed b-b line-lg pull-in"></div>
<div class="form-group">
    <label>{{ 'business.navtitle.personalhistory' | translate }}</label>
    <div>
        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_HighBlood"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_HighBlood ==1">
            {{ 'business.patcase.history_HighBlood' | translate }}
        </label>

        <label class="checkbox-inline col-sm-5" ng-show="patient.history_HighBlood == 1">
            <textarea class="form-control" ng-model="patient.history_HighBlood_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_HighBlood_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div>

        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Diabete"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Diabete == 1">
            {{ 'business.patcase.chemcontacthist' | translate }}
        </label>

        <label class="checkbox-inline col-sm-5" ng-show="patient.history_Diabete == 1">
            <textarea class="form-control" ng-model="patient.history_Diabete_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Diabete_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div>

        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Cardiov"
                   ng-true-value="1" ng-false-value="0"  ng-checked="patient.history_Cardiov == 1">
            {{ 'business.patcase.history_Cardiov' | translate }}
        </label>

        <label class="checkbox-inline col-sm-5" ng-show="patient.history_Cardiov == 1">
            <textarea class="form-control" ng-model="patient.history_Cardiov_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Cardiov_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div>
        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Epidemic" ng-disabled="viewOnly"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Epidemic == 1">

            {{ 'business.patcase.history_Epidemic' | translate }}
        </label>

        <label class="checkbox-inline col-sm-5" ng-show="patient.history_Epidemic == 1">
            <textarea class="form-control" ng-model="patient.history_Epidemic_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Epidemic_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div>
        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Surgery"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Surgery == 1">
            {{ 'business.patcase.history_Surgery' | translate }}
        </label>
        <label class="checkbox-inline col-sm-5" ng-show="patient.history_Surgery == 1">
            <textarea class="form-control" ng-model="patient.history_Surgery_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Surgery_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div>

        <label class="checkbox-inline col-sm-6">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Allergy"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Allergy == 1">
            {{ 'business.patcase.history_Allergy' | translate }}
        </label>
        <label class="checkbox-inline col-sm-5" ng-show="patient.history_Allergy == 1">
            <textarea class="form-control" ng-model="patient.history_Allergy_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Allergy_Desc' | translate }}"></textarea>
        </label>

        <div class="clearfix"></div><br/>

    </div>
    <div class="clearfix"></div>
</div>

<div class="line line-dashed b-b line-lg pull-in"></div>
<div class="form-group">
    <label>{{ 'business.navtitle.pathistory' | translate }}</label>
    <div>
        <label class="checkbox-inline col-sm-4">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Smoke"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Smoke == 1">
            {{ 'business.patcase.history_Smoke' | translate }}
        </label>
        <label class="checkbox-inline col-sm-4" ng-show="patient.history_Smoke == 1">
            <textarea class="form-control" ng-model="patient.history_Smoke_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Smoke_Desc' | translate }}"></textarea>
        </label>
        <div class="clearfix"></div>
        <label class="checkbox-inline col-sm-4">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Drinking"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Drinking == 1">
            {{ 'business.patcase.liveinhifloarea' | translate }}
        </label>
        <label class="checkbox-inline col-sm-4" ng-show="patient.history_Drinking == 1">
            <textarea class="form-control" ng-model="patient.history_Drinking_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Drinking_Desc' | translate }}"></textarea>
        </label>
        <div class="clearfix"></div>
        <label class="checkbox-inline col-sm-4">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Chem"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Chem == 1">
            {{ 'business.patcase.history_Chem' | translate }}
        </label>
        <label class="checkbox-inline col-sm-4" ng-show="patient.history_Chem == 1">
            <textarea class="form-control" ng-model="patient.history_Chem_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Chem_Desc' | translate }}"></textarea>
        </label>
        <div class="clearfix"></div>

        <label class="checkbox-inline col-sm-4">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_EPIArea"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_EPIArea == 1">
            {{ 'business.patcase.history_EPIArea' | translate }}
        </label>
        <label class="checkbox-inline col-sm-4" ng-show="patient.history_EPIArea == 1">
            <textarea class="form-control" ng-model="patient.history_EPIArea_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_EPIArea_Desc' | translate }}"></textarea>
        </label>
        <div class="clearfix"></div>
        <label class="checkbox-inline col-sm-4">
            <input type="checkbox" ng-disabled="viewOnly" ng-model="patient.history_Other"
                   ng-true-value="1" ng-false-value="0" ng-checked="patient.history_Other == 1">
            {{ 'business.patcase.history_Other' | translate }}
        </label>
        <label class="checkbox-inline col-sm-4" ng-show="patient.history_Other == 1">
            <textarea class="form-control" ng-model="patient.history_Other_Desc" rows="2" ng-disabled="viewOnly"
                      placeholder="{{ 'business.patcase.history_Other_Desc' | translate }}"></textarea>
        </label>
    </div>
    <div class="clearfix"></div>
</div>

<footer class="panel-footer text-center bg-light lter">
    <button class="btn btn-default" type="button" ng-click="cancel()" translate="common.cancel"></button>
    <button class="btn btn-success" type="button" ng-click="onEdit()" ng-show="false" translate="common.edit"></button>
    <button class="btn btn-success" type="submit" ng-show="!viewOnly" data-loading-text="{{ 'common.loading' | translate }}" translate="common.submit"></button>
</footer>
</form>
</tab>

<tab ng-show="patient.patient_Id > 0" heading="{{ 'business.navtitle.patcaseinfo' | translate }}" ng-controller="AddPatientCaseCtrl">
<accordion close-others="oneAtATime" ng-init="getPatientCases(patient.patient_Id)">
<accordion-group ng-repeat="item in ArrPatCases  track by $index"  is-open="item.isedit">
<accordion-heading>
    {{item.title}}
    <small class="pull-right">{{'common.updated' | translate}} : {{item.updatedF}}</small>
</accordion-heading>
<form role="patcase" ng-submit="savePatientCase(item)">
    <div class="form-group">
        <label>{{'business.patcase.disease_Site' | translate}}</label> <br/>
                                <span ng-repeat="ds in diseaseSiteList" class="m-r-md">
                                      <input type="checkbox" checklist-model="item.disease_Site_Array" ng-disabled="viewOnly" checklist-value="ds"  ng-disabled="viewOnly"/>
                                    {{'business.patcase.disease_Site_' + ds.desc | translate}}
                                </span>
    </div>
<div class="form-group">
    <label>{{ 'business.patcase.brief_Desc' | translate }}</label>
    <input type="text" ng-model="item.brief_Desc" class="form-control" ng-disabled="viewOnly" required>
</div>
<div class="form-group">
    <label>{{ 'business.patcase.main_Desc' | translate }}</label>
    <textarea rows="3" ng-model="item.main_Desc" class="form-control" style="overflow:auto;height:100px;max-height:100px"  ng-disabled="viewOnly" required></textarea>
</div>
<div class="form-group">
    <div class="row">
        <label class="col-sm-2 control-label">{{ 'business.patcase.spirit_State' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="spirit_state" ng-model="item.spirit_State" value="verygood"  ng-disabled="viewOnly" required>
                {{ 'common.verygood' | translate }}
            </label>
            <label>
                <input type="radio" name="spirit_state" ng-model="item.spirit_State" value="notgood"  ng-disabled="item.isedit==false || item.isedit == null" required>
                {{ 'common.notgood' | translate }}
            </label>
        </div>
        <label class="col-sm-2 control-label">{{ 'business.patcase.strength' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="strength" ng-model="item.strength" value="verygood"  ng-disabled="viewOnly" required>
                {{ 'common.verygood' | translate }}
            </label>
            <label>
                <input type="radio" name="strength" ng-model="item.strength" value="notgood"  ng-disabled="viewOnly" required>
                {{ 'common.notgood' | translate }}
            </label>
        </div>
    </div>
</div>

<div class="line line-dashed b-b line-lg pull-in"></div>
<div class="form-group">
    <div class="row">
        <label class="col-sm-2 control-label">{{ 'business.patcase.appetite' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="appetite" ng-model="item.appetite" value="verygood"  ng-disabled="viewOnly" required>
                {{ 'common.verygood' | translate }}
            </label>
            <label>
                <input type="radio" name="appetite" ng-model="item.appetite" value="good"  ng-disabled="viewOnly" required>
                {{ 'common.good' | translate }}
            </label>
            <label>
                <input type="radio" name="appetite" ng-model="item.appetite" value="notgood"  ng-disabled="viewOnly" required>
                {{ 'common.notgood' | translate }}
            </label>
        </div>
        <label class="col-sm-2 control-label">{{ 'business.patcase.sleeping' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="sleeping" ng-model="item.sleeping" value="verygood"  ng-disabled="viewOnly" required>
                {{ 'common.verygood' | translate }}
            </label>
            <label>
                <input type="radio" name="sleeping" ng-model="item.sleeping" value="good"  ng-disabled="viewOnly" required>
                {{ 'common.good' | translate }}
            </label>
            <label>
                <input type="radio" name="sleeping" ng-model="item.sleeping" value="notgood"  ng-disabled="viewOnly" required>
                {{ 'common.notgood' | translate }}
            </label>
        </div>
    </div>
</div>

<div class="line line-dashed b-b line-lg pull-in"></div>
<div class="form-group">
    <div class="row">
        <label class="col-sm-2 control-label">{{ 'business.patcase.gatism_Handling' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="gatism_handling" ng-model="item.gatism_Handling" value="usual"  ng-disabled="viewOnly" required>
                {{ 'common.usual' | translate }}
            </label>
            <label>
                <input type="radio" name="gatism_handling" ng-model="item.gatism_Handling" value="stool_usual"  ng-disabled="viewOnly" required>
                {{ 'business.patcase.gatHand_stool' | translate }}
            </label>
            <label>
                <input type="radio" name="gatism_handling" ng-model="item.gatism_Handling" value="urine_usual"  ng-disabled="viewOnly" required>
                {{ 'business.patcase.gatHand_urine' | translate }}
            </label>
        </div>
        <label class="col-sm-2 control-label">{{ 'business.patcase.method_Transport' | translate
            }}</label>

        <div class="col-sm-4">
            <label>
                <input type="radio" name="method_transport" ng-model="item.method_Transport" value="usual"  ng-disabled="viewOnly" required>
                {{ 'common.usual' | translate }}
            </label>
            <label>
                <input type="radio" name="method_transport" ng-model="item.method_Transport" value="wheelchair"  ng-disabled="viewOnly" required>
                {{ 'business.patcase.metTran_wheelchair' | translate }}
            </label>
            <label>
                <input type="radio" name="method_transport" ng-model="item.method_Transport" value="ambulance"  ng-disabled="viewOnly" required>
                {{ 'business.patcase.metTran_ambulance' | translate }}
            </label>
        </div>
    </div>
</div>

<div class="line line-dashed b-b line-lg pull-in"></div>
<div class="form-group">
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.body_Temp' | translate }} </label>
        <div class="col-sm-10">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.body_Temp"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.degree' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.heart_Beat' | translate }} </label>
        <div class="col-sm-10">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.heart_Beat"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.notimes' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.breath_Int' | translate }} </label>
        <div class="col-sm-10">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.breath_Int"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.notimes' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.weight' | translate }}</label>
        <div class="col-sm-4">
            <div class="input-group">
                <input  pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.weight"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.kg' | translate }}</button>
                                            </span>
            </div>
        </div>
        <label class="col-sm-2">{{ 'business.patcase.weight_change' | translate }}</label>
        <div class="col-sm-4">
            <div class="input-group">
                <input type="number" class="form-control" ng-model="item.weight_Change"  ng-disabled="viewOnly" required>
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.kg' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.bmi' | translate }}</label>
        <div class="col-sm-4">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.bmi"  ng-disabled="viewOnly">
            </div>
        </div>
        <label class="col-sm-2">{{ 'business.patcase.height' | translate }}</label>
        <div class="col-sm-4">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.height"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.cm' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
    <div class="row">
        <label class="col-sm-2">{{ 'business.patcase.blood_Pressure_High' | translate }} </label>
        <div class="col-sm-4">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0"type="text" class="form-control" ng-model="item.blood_Pressure_High"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.mmHg' | translate }}</button>
                                            </span>
            </div>
        </div>
        <label class="col-sm-2">{{ 'business.patcase.blood_Pressure_Low' | translate }} </label>
        <div class="col-sm-4">
            <div class="input-group">
                <input pattern="^([0-9]*[1-9][0-9]*(\.[0-9]+)?|[0]+\.[0-9]*[1-9][0-9]*)$" title="Number must greater than 0" type="text" class="form-control" ng-model="item.blood_Pressure_Low"  ng-disabled="viewOnly">
                                            <span class="input-group-btn">
                                                <button class="btn btn-default" type="button">{{ 'common.mmHg' | translate }}</button>
                                            </span>
            </div>
        </div>
    </div>
</div>

<footer class="panel-footer text-right bg-light lter">
    <a class="btn btn-info pull-left" ng-click="" ng-show="false" translate="common.submittoselection">Submit To Selection</a>

</footer>
</form>
</accordion-group>
</accordion>
<footer class="panel-footer text-center bg-light lter">
    <button class="btn btn-cancel" ng-click="cancel()" translate="common.cancel">Cancel</button>

</footer>
</tab>
</tabset>
</div>
</div>